// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.linqingying.gitcode.pullrequest.ui.comment

import com.intellij.collaboration.ui.codereview.timeline.thread.CodeReviewResolvableItemViewModel
import kotlinx.coroutines.flow.StateFlow
import com.linqingying.gitcode.pullrequest.comment.ui.GCPRNewThreadCommentViewModel
import com.linqingying.gitcode.ui.avatars.GCAvatarIconsProvider

interface GCPRReviewThreadViewModel : CodeReviewResolvableItemViewModel {
  val avatarIconsProvider: GCAvatarIconsProvider

  val id: String

  val canCreateReplies: StateFlow<Boolean>
  val newReplyVm: GCPRNewThreadCommentViewModel
}
